#ifndef LISTVIEW_H
#define LISTVIEW_H

#include <QWidget>
#include "INoteView.h"

namespace Ui {
class ListView;
}

class ListView : public INoteView
{
	Q_OBJECT

	Ui::ListView *ui;
	
public:
	explicit ListView(QWidget *parent = 0);
	~ListView();

	void clearFields();
	
public slots:
	void onNoteAdded(Note* note);
	void onNoteRemoved(Note* note);
	void onNoteUpdated(Note* note);

	void onItemSelected();
	void onBtnRemoveItem();
	void onBtnEdit();
};

#endif // LISTVIEW_H
